import { createRouter, createWebHistory } from "vue-router";

const router = createRouter({
  history: createWebHistory(),
  routes: [
    // tabar
    {
      path: "/",
      name: "Big",
      component: () => import("../views/Big.vue"),
      children: [
        // 喵屋页面
        
        // 我的页面
        {
          path: "/My",
          name: "My",
          component: () => import("../views/My.vue"),
        },
        
       
        {
          path: "/home",
          name: "home",
          component: () => import("../views/HomeView.vue"),
        },
      ],
    },
            // 详情
    {
      path: "/about",
      name: "about",
      component: () => import("../views/AboutView.vue"),
    },
            // 登录页面
    
    // 找回密码页面
    
  ],
});

export default router;
